import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// import axios from 'axios'
import axios from './utils/http'
// 阻止事件的默认行为
import 'default-passive-events'

Vue.config.productionTip = false
Vue.use(ElementUI)
// axios.defaults.baseURL='http://192.168.2.10:8888'
Vue.prototype.$axios=axios;

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
